'Declaration
<NotNullAttribute()> Public Overloads Function SelectValue(Of TOutput)( _ ByVal valueSelector As Func(Of T,TOutput) _ ) As ValueResult(Of TOutput)
'Usage
Dim instance As ValueResult(Of T) Dim valueSelector As Func(Of T,TOutput) Dim value As ValueResult(Of TOutput) value = instance.SelectValue(Of TOutput)(valueSelector)
[NotNull()] public ValueResult<TOutput> SelectValue<TOutput>( Func<T,TOutput> valueSelector )
[NotNull()] public: ValueResult<TOutput^>^ SelectValuegeneric<typename TOutput> ( Func<T^,TOutput^>^ valueSelector )
Parameters
- valueSelector
- A transform function to apply to the value.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- TOutput
- The type of the value returned by valueSelector.
Return Value
This method never returns null
(Nothing
in Visual Basic).